package filesystem.util;

/**
 * Classe com as mensagens que são trocadas entre os processos.
 */
public class Messages {
	//Operações:
	public static final String create 			= "create";
	public static final String delete 			= "delete";
	public static final String read				= "read";
	public static final String write			= "write";
	//Respostas:
	public static final String ack				= "ack";
	public static final String fail				= "fail";
	public static final String ok				= "ok";
	//Erros:
	public static final String busy				= "BUSY";
	public static final String notExists		= "NOT_EXISTS";
	public static final String alreadyExists	= "FILE_ALREADY_EXISTS";
	public static final String invalidCommand	= "INVALID_COMMAND";
	//Finalização:
	public static final String endRead			= "endRead";
	//Nó a nó:
	public static final String get				= "get";
}
